package com.hp.demo.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hp.demo.bean.Product_category;
import com.hp.demo.dao.OrderMapper;
import com.hp.demo.service.OrderService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service("orderService")
public class OrderServiceImpl extends ServiceImpl<OrderMapper,Product_category> implements OrderService{
    @Resource
    OrderMapper orderMapper;

    @Override
    public List<Product_category> getOrder() {
        System.out.println(orderMapper.getOrder());
        return orderMapper.getOrder();
    }
}
